package com.citybox.domain.aliyun;

import com.citybox.shared.web.BaseDomain;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * @author zhao.x
 */
@Data
public class ALiYunAuthDo extends BaseDomain {

    @NotBlank(message = "姓名不能为空")
    @Size(min = 1, max = 50, message = "姓名长度应在1-50字符之间")
    private String name;

    @NotBlank(message = "idNo不能为空")
    @Size(min = 15, max = 18, message = "身份证号长度应在15-18位之间")
    private String idNo;

}
